package com.gsy.createArr;

import java.security.SecureRandom;
import java.util.Random;

public class BuildArrays {
    public static int[] buildIntArr(int length,int max) {
        Random random = new SecureRandom();
        int re[] = new int[length];
        for (int i = 0; i < length; i++) {
            re[i] = random.nextInt(max);
        }
        return re;
    }
}
